﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AiChiTu.TraceabilitySystem.Domain.RBAC
{
	/// <summary>
	/// 权限表
	/// </summary>
	public class Permission
	{
		/// <summary>
		/// 权限ID
		/// </summary>
		[Key]
		public int PermissionId { get; set; }
		/// <summary>
		/// 菜单名称
		/// </summary>
		public string? PermissionName { get; set; }
		/// <summary>
		/// 菜单路由
		/// </summary>
		public string? PermissionURL { get; set; }
		/// <summary>
		/// 菜单描述
		/// </summary>
		public string? PermissionDescription { get; set; }
		/// <summary>
		/// 上级权限ID
		/// </summary>
		public int ParentId { get; set; }
	}
}
